package Demo02.Demo05;

public class Demo_Test {
    public static void main(String[] args) {
        Demo_UseCompute compute = new Demo_UseCompute();
        compute.useCom(new Demo_addition(),4,2);
        compute.useCom(new Demo_subtraction(),4,2);
        compute.useCom(new Demo_divisionmethod(),4,2);
        compute.useCom(new Demo_multiplication(),4,2);
        compute.useCom(new Demo_divisionmethod(),4,0);
    }
}
